//
//  AttentionSearchResultViewController.h
//  PropertyMananger
//
//  Created by bh on 16/12/29.
//  Copyright © 2016年 BH. All rights reserved.
//

#import <UIKit/UIKit.h>

@class AttentionModel;
@class  AttentionSearchResultViewController;

typedef NS_ENUM(NSInteger, Index)
{
    TongXunLu = 0,
    YeZhuXinXi
};

@protocol AttentionSearchResultViewControllerDelegate<NSObject>

@optional
/**
 *  点击了关注的那个人的模型
 *
 *  @param resutltVC 结果的控制器
 *  @param attention   通讯录的模型
 */
- (void)resultViewController:(AttentionSearchResultViewController *)resutltVC didSelectFollowModel:(AttentionModel *)attention;

@end
/**
 *  搜索的结果控制器
 */
@interface AttentionSearchResultViewController : BaseViewController
/**
 *  数据源数组
 */
@property (nonatomic,strong)NSMutableArray *dataSource;


/**
 *  delegate
 */
@property (nonatomic,weak) id<AttentionSearchResultViewControllerDelegate>delegate;

//枚举值
@property (nonatomic,assign) Index index;

@end
